package com.lianniu.mgr.teaComment.dao;

import java.util.List;
import java.util.Map;

import com.lianniu.mgr.teaComment.model.TeaComment;

public interface TeaCommentDao {
    int deleteByPrimaryKey(String id);

    int insert(TeaComment record);

    int insertSelective(TeaComment record);

    TeaComment selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TeaComment record);

    int updateByPrimaryKey(TeaComment record);

	List<TeaComment> selectAllByOederId(Map param);

	List<TeaComment> selectPartByOederId(String orderId);

	List<TeaComment> getTeaCommentListForPage(TeaComment teaComment);

	int deleteComment(String... id);
}